package com.usian.common.model.paper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * @projectName: 2210A-project1
 * @package: com.usian.common.model.paper
 * @className: PaperHistory
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: 成员历史测验数据表
 * @date: 2023/9/4 15:51
 */
@Data
@ToString
@TableName(value = "paper_history")
public class PaperHistory {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(value = "member_id")
    private Long memberId;
    /**
     * 成员历史测验id
     */
    @TableField(value = "member_test_history_id")
    private Long memberTestHistoryId;
    @TableField(value = "paper_id")
    private Long paperId;
    @TableField(value = "questions_id")
    private Long questionsId;
    @TableField(value = "answer")
    private String answer;
}
